﻿#include<iostream>

#define dVersion "v1.1"
#define dUrl "http://yuanwie.xyz"

using namespace std;
int main() {
	system("color 07");
	cout << "================================================" << endl;//顶部边框16*3
	cout << endl;
	cout << endl;
	cout << endl;
	cout << endl;
	cout << "                 麟江湖\"控制台\"" << dVersion << "版" << endl;//16*3
	cout << endl;
	cout << endl;
	cout << endl;
	cout << endl;
	cout << "                 正在加载游戏...." << endl;//加载
	cout << "                 进度【100/100】" << endl;//进度
	cout << endl;
	cout << endl;
	cout << endl;
	cout << endl;
	cout << "                 官方网址" << dUrl << endl;//官方网址
	cout << "================================================" << endl;//16*3
	system("pause");
	system("cls");

	unsigned short birthYear;//出生年
	float weight;//体重
	unsigned short height;//身高
	unsigned short sex;//性别 0表示女 1表示男
	unsigned long long mobile;//手机号

	cout << "================================================" << endl;//顶部边框16*3
	cout << endl;
	cout << endl;
	cout << endl;
	cout << endl;
	cout << "                 麟江湖\"控制台\"" << dVersion << "版" << endl;//16*3
	/**/
	cout << "                 请输入你的出生年:";
	cin >> birthYear;

	cout << "                 请输入你的体重:";
	cin >> weight;

	cout << "                 请输入你的身高:";
	cin >> height;

	cout << "                 请输入你的性别:";
	cin >> sex;

	cout << "                 请输入你的手机号:";
	cin >> mobile;

	unsigned long long endInfo;

	endInfo = (mobile / 2 + birthYear) * 10000000;

	float fls = height * height / weight;
	endInfo += fls;
	endInfo *= 10;
	endInfo += sex;
	cout << "你的激活密码为：" << endInfo << endl;
	cout << "请登陆官方网站，用激活密码换取激活码!";

	cout << endl;
	cout << endl;
	cout << endl;
	cout << endl;
	cout << endl;
	cout << endl;
	cout << endl;
	cout << "                 官方网址" << dUrl << endl;//官方网址
	cout << "================================================" << endl;//16*3
	system("pause");
}